package com.sqfw.project.wp.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sqfw.framework.aspectj.lang.annotation.Excel;
import com.sqfw.framework.web.domain.BaseEntity;

/**
 * 催单日志对象 wp_hurry_log
 * 
 * @author lx
 * @date 2023-06-28
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class WpHurryLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long scid;

    /** 工单编号 */
    @Excel(name = "工单编号")
    private String wpid;

    /** 催单原因 */
    @Excel(name = "催单原因")
    private String hurryReason;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date hurryDate;

    /** 催单状态 */
    @Excel(name = "催单状态")
    private String hurryFlag;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String note;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long state;

    /** 承办单位 */
    @Excel(name = "承办单位")
    private String deptLevel2;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String succfail;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String failnote;

    /** 催单人 */
    @Excel(name = "催单人")
    private String hurryName;

    /** 催单时间 */
    @Excel(name = "催单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date hurryTime;

    private String phoneno;

    private String customerName;

    private String priority;

    private String scidType;

    private String wpType;

    private Integer timelimite;

    private String sender;

    private String summary;

    private List<String> mainUnitAll;

    //内容类别查询字段
    private List<List<String>> classAllFind;

    /*前端传来的分类数组，查询需要*/
    private List<String> classAll;

    //排序  字段
    private String prop;

    //排序  ascending（正序），descending（倒序）
    private String order;

    //sql拼接排序
    private String orderBy;

    //sql表 的列字段
    private String rowItem;

}
